using System.Collections.Generic;
using System.ServiceModel;
using Elderos.Highlight.Search;

namespace Elderos.Highlight
{
    [ServiceContract]
    public interface IHighlighter
    {
        [OperationContract]
        List<Position> Search(string text);

        [OperationContract]
        HighlightResult Highlight(string text);

        [OperationContract]
        ArticleHighlight ProcessArticle(string text);
    }
}